% convert the values of the label from pixeis to coordinates; input 1 is
% the values of y and input 2 is the factor of conversion
function [output] = converty (input1, input2)
ylab = [];
ny = size (input1,2);
for i=1:ny
    ylabcon = (2000 - input1(i)) * input2(i);
    ay = ylabcon;
    ylab = [ylab ay];
end
output = ylab;
end